package pers.mihao.quickstream.publish.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import pers.mihao.quickstream.common.model.Features;
import pers.mihao.quickstream.publish.constants.TaskStatus;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mihao
 * @since 2024/11/23
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PublishTaskDTO implements Serializable {

    private Long id;

    private Date gmtCreate;

    private Date gmtModify;

    /**
     * 操作人Id
     */
    private Long opUserId;

    /**
     * 素材Id
     */
    private Long materialId;

    /**
     * 任务状态
     */
    private TaskStatus taskStatus;

    /**
     * 定时发布信息
     */
    private String timeTaskInfo;

    /**
     * 任务开始执行时间
     */
    private Date taskBeginTime;

    /**
     * 任务执行结束时间
     */
    private Date taskEndTime;

    /**
     * 扩展发布信息
     */
    private String publishExtInfo;

    /**
     * 指定平台
     */
    private String publishAccountConfig;

    private Integer version;

    private Features features;

}
